
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>业务日志脱敏 · Passport业务手册</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="xiajie <xiajie01@baidu.com>">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-multipart/multipart.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-codeblock-filename/block.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-prism/prism-okaidia.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-custom-js-css/03c70a23567f2990c05f5cb8c64400a2-main.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-custom-js-css/27b4a027a84f513ce71206e15df835dc-folding-chapters.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../../open/auth-widget/" />
    
    
    <link rel="prev" href="../portrait-to-bos/" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
    

    

    
        
        <li class="header">[第一章] 开发指南</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                        <b>1.1.</b>
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../guides/develop/awareness.html">
            
                <a href="../../guides/develop/awareness.html">
            
                    
                        <b>1.2.</b>
                    
                    新人必读
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../guides/develop/doc.html">
            
                <a href="../../guides/develop/doc.html">
            
                    
                        <b>1.3.</b>
                    
                    文档撰写
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../../guides/services.html">
            
                <a href="../../guides/services.html">
            
                    
                        <b>1.4.</b>
                    
                    流量接入介绍
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../../guides/services/shifen.html">
            
                <a href="../../guides/services/shifen.html">
            
                    
                        <b>1.4.1.</b>
                    
                    灵渠(shifen平台)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../../guides/services/bgw.html">
            
                <a href="../../guides/services/bgw.html">
            
                    
                        <b>1.4.2.</b>
                    
                    BGW
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../../guides/services/bfe.html">
            
                <a href="../../guides/services/bfe.html">
            
                    
                        <b>1.4.3.</b>
                    
                    BFE
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../../guides/passport.html">
            
                <a href="../../guides/passport.html">
            
                    
                        <b>1.5.</b>
                    
                    Pass技术架构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../../guides/passport/dbgate.html">
            
                <a href="../../guides/passport/dbgate.html">
            
                    
                        <b>1.5.1.</b>
                    
                    DBGATE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../../guides/passport/session.html">
            
                <a href="../../guides/passport/session.html">
            
                    
                        <b>1.5.2.</b>
                    
                    SESSION
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                        <b>1.6.</b>
                    
                    开发环境配置
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../../guides/environment/instances.html">
            
                <a href="../../guides/environment/instances.html">
            
                    
                        <b>1.6.1.</b>
                    
                    开发机实例创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../../guides/environment/server_tool.html">
            
                <a href="../../guides/environment/server_tool.html">
            
                    
                        <b>1.6.2.</b>
                    
                    开发机配套工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../../guides/environment/tool.html">
            
                <a href="../../guides/environment/tool.html">
            
                    
                        <b>1.6.3.</b>
                    
                    本地常用工具
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">[第二章] 业务项目</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../experiment/">
            
                <a href="../experiment/">
            
                    
                        <b>2.1.</b>
                    
                    分层实验平台
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../experiment/concept.html">
            
                <a href="../experiment/concept.html">
            
                    
                        <b>2.1.1.</b>
                    
                    基本概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../experiment/concept_parse.html">
            
                <a href="../experiment/concept_parse.html">
            
                    
                        <b>2.1.2.</b>
                    
                    概念剖析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="../experiment/quick_start.html">
            
                <a href="../experiment/quick_start.html">
            
                    
                        <b>2.1.3.</b>
                    
                    快速开始
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.3.1" data-path="../experiment/quick_start_experiment.html">
            
                <a href="../experiment/quick_start_experiment.html">
            
                    
                        <b>2.1.3.1.</b>
                    
                    实验创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3.2" data-path="../experiment/quick_start_usage.html">
            
                <a href="../experiment/quick_start_usage.html">
            
                    
                        <b>2.1.3.2.</b>
                    
                    业务层应用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3.3" data-path="../experiment/quick_start_chart.html">
            
                <a href="../experiment/quick_start_chart.html">
            
                    
                        <b>2.1.3.3.</b>
                    
                    报表查询
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.1.4" >
            
                <span>
            
                    
                        <b>2.1.4.</b>
                    
                    实现机制
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.4.1" data-path="../experiment/implement_platform.html">
            
                <a href="../experiment/implement_platform.html">
            
                    
                        <b>2.1.4.1.</b>
                    
                    实验平台
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.2" data-path="../experiment/implement_process.html">
            
                <a href="../experiment/implement_process.html">
            
                    
                        <b>2.1.4.2.</b>
                    
                    实验流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.3" data-path="../experiment/implement_sdk.html">
            
                <a href="../experiment/implement_sdk.html">
            
                    
                        <b>2.1.4.3.</b>
                    
                    SDK
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.4" data-path="../experiment/implement_expression.html">
            
                <a href="../experiment/implement_expression.html">
            
                    
                        <b>2.1.4.4.</b>
                    
                    表达式执行器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.5" data-path="../experiment/implement_chart.html">
            
                <a href="../experiment/implement_chart.html">
            
                    
                        <b>2.1.4.5.</b>
                    
                    通用报表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="../experiment/cases.html">
            
                <a href="../experiment/cases.html">
            
                    
                        <b>2.1.5.</b>
                    
                    应用案例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="../experiment/reference.html">
            
                <a href="../experiment/reference.html">
            
                    
                        <b>2.1.6.</b>
                    
                    参考资料
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../auth-widget/">
            
                <a href="../auth-widget/">
            
                    
                        <b>2.2.</b>
                    
                    验证控件重构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" >
            
                <span>
            
                    
                        <b>2.2.1.</b>
                    
                    当前现状
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1.1" data-path="../auth-widget/current/authtoken.html">
            
                <a href="../auth-widget/current/authtoken.html">
            
                    
                        <b>2.2.1.1.</b>
                    
                    初始化阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.2" data-path="../auth-widget/current/render.html">
            
                <a href="../auth-widget/current/render.html">
            
                    
                        <b>2.2.1.2.</b>
                    
                    渲染阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.3" data-path="../auth-widget/current/check.html">
            
                <a href="../auth-widget/current/check.html">
            
                    
                        <b>2.2.1.3.</b>
                    
                    验证阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.4" data-path="../auth-widget/current/use.html">
            
                <a href="../auth-widget/current/use.html">
            
                    
                        <b>2.2.1.4.</b>
                    
                    使用阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.5" data-path="../auth-widget/current/now.html">
            
                <a href="../auth-widget/current/now.html">
            
                    
                        <b>2.2.1.5.</b>
                    
                    使用场景
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="../auth-widget/refactor.html">
            
                <a href="../auth-widget/refactor.html">
            
                    
                        <b>2.2.2.</b>
                    
                    重构实现
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.2.1" data-path="../auth-widget/refactor/context.html">
            
                <a href="../auth-widget/refactor/context.html">
            
                    
                        <b>2.2.2.1.</b>
                    
                    验证控件上下文
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.2" data-path="../auth-widget/refactor/interface.html">
            
                <a href="../auth-widget/refactor/interface.html">
            
                    
                        <b>2.2.2.2.</b>
                    
                    验证控件抽象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.3" data-path="../auth-widget/refactor/mobile.html">
            
                <a href="../auth-widget/refactor/mobile.html">
            
                    
                        <b>2.2.2.3.</b>
                    
                    手机验证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.4" data-path="../auth-widget/refactor/email.html">
            
                <a href="../auth-widget/refactor/email.html">
            
                    
                        <b>2.2.2.4.</b>
                    
                    邮箱验证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.5" data-path="../auth-widget/refactor/facematch.html">
            
                <a href="../auth-widget/refactor/facematch.html">
            
                    
                        <b>2.2.2.5.</b>
                    
                    刷脸验证
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.3" >
            
                <span>
            
                    
                        <b>2.2.3.</b>
                    
                    新版使用
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.3.1" data-path="../auth-widget/new/authtoken.html">
            
                <a href="../auth-widget/new/authtoken.html">
            
                    
                        <b>2.2.3.1.</b>
                    
                    初始化阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.2" data-path="../auth-widget/new/render.html">
            
                <a href="../auth-widget/new/render.html">
            
                    
                        <b>2.2.3.2.</b>
                    
                    渲染阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.3" data-path="../auth-widget/new/check.html">
            
                <a href="../auth-widget/new/check.html">
            
                    
                        <b>2.2.3.3.</b>
                    
                    验证阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.4" data-path="../auth-widget/new/use.html">
            
                <a href="../auth-widget/new/use.html">
            
                    
                        <b>2.2.3.4.</b>
                    
                    使用阶段
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../mobile-refactor/">
            
                <a href="../mobile-refactor/">
            
                    
                        <b>2.3.</b>
                    
                    联系手机
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="../mobile-refactor/ppui.html">
            
                <a href="../mobile-refactor/ppui.html">
            
                    
                        <b>2.3.1.</b>
                    
                    业务层
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="../mobile-refactor/dbgate.html">
            
                <a href="../mobile-refactor/dbgate.html">
            
                    
                        <b>2.3.2.</b>
                    
                    后端
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="../mobile-refactor/plan.html">
            
                <a href="../mobile-refactor/plan.html">
            
                    
                        <b>2.3.3.</b>
                    
                    开发方案
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="../portrait-to-orp/orp/">
            
                <a href="../portrait-to-orp/orp/">
            
                    
                        <b>2.4.</b>
                    
                    头像迁移ORP
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="../portrait-to-orp/orp/evaluate.html">
            
                <a href="../portrait-to-orp/orp/evaluate.html">
            
                    
                        <b>2.4.1.</b>
                    
                    流量评估
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="../portrait-to-orp/orp/deploy.html">
            
                <a href="../portrait-to-orp/orp/deploy.html">
            
                    
                        <b>2.4.2.</b>
                    
                    服务部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="../portrait-to-orp/orp/test.html">
            
                <a href="../portrait-to-orp/orp/test.html">
            
                    
                        <b>2.4.3.</b>
                    
                    测试方案
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.4" data-path="../portrait-to-orp/orp/test-result.html">
            
                <a href="../portrait-to-orp/orp/test-result.html">
            
                    
                        <b>2.4.4.</b>
                    
                    测试结论
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.5" data-path="../portrait-to-orp/orp/bug.html">
            
                <a href="../portrait-to-orp/orp/bug.html">
            
                    
                        <b>2.4.5.</b>
                    
                    BUG收集
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.6" data-path="../portrait-to-orp/orp/service.html">
            
                <a href="../portrait-to-orp/orp/service.html">
            
                    
                        <b>2.4.6.</b>
                    
                    依赖服务梳理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.7" data-path="../portrait-to-orp/orp/monitor.html">
            
                <a href="../portrait-to-orp/orp/monitor.html">
            
                    
                        <b>2.4.7.</b>
                    
                    监控规则梳理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.8" data-path="../portrait-to-orp/orp/plan.html">
            
                <a href="../portrait-to-orp/orp/plan.html">
            
                    
                        <b>2.4.8.</b>
                    
                    计划排期
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="../experiment/trace/">
            
                <a href="../experiment/trace/">
            
                    
                        <b>2.5.</b>
                    
                    TraceID机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="../experiment/trace/concept.html">
            
                <a href="../experiment/trace/concept.html">
            
                    
                        <b>2.5.1.</b>
                    
                    基本概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2" >
            
                <span>
            
                    
                        <b>2.5.2.</b>
                    
                    实现机制
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.2.1" data-path="../experiment/trace/trace_id.html">
            
                <a href="../experiment/trace/trace_id.html">
            
                    
                        <b>2.5.2.1.</b>
                    
                    TraceID及管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.2" data-path="../experiment/trace/flow_id.html">
            
                <a href="../experiment/trace/flow_id.html">
            
                    
                        <b>2.5.2.2.</b>
                    
                    流程定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.3" data-path="../experiment/trace/flow_handle.html">
            
                <a href="../experiment/trace/flow_handle.html">
            
                    
                        <b>2.5.2.3.</b>
                    
                    流程处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.4" data-path="../experiment/trace/exp_append_trace_id.html">
            
                <a href="../experiment/trace/exp_append_trace_id.html">
            
                    
                        <b>2.5.2.4.</b>
                    
                    小流量实验
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5" data-path="../experiment/trace/trace_id_transfer.html">
            
                <a href="../experiment/trace/trace_id_transfer.html">
            
                    
                        <b>2.5.2.5.</b>
                    
                    TraceID传递
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.2.5.1" data-path="../experiment/trace/trace_id_transfer_ppui.html">
            
                <a href="../experiment/trace/trace_id_transfer_ppui.html">
            
                    
                        <b>2.5.2.5.1.</b>
                    
                    PPUI
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5.2" data-path="../experiment/trace/trace_id_transfer_fe.html">
            
                <a href="../experiment/trace/trace_id_transfer_fe.html">
            
                    
                        <b>2.5.2.5.2.</b>
                    
                    FE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5.3" data-path="../experiment/trace/trace_id_transfer_na.html">
            
                <a href="../experiment/trace/trace_id_transfer_na.html">
            
                    
                        <b>2.5.2.5.3.</b>
                    
                    NA端
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5.2.6" data-path="../experiment/trace/log.html">
            
                <a href="../experiment/trace/log.html">
            
                    
                        <b>2.5.2.6.</b>
                    
                    日志记录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="../face-cluster/">
            
                <a href="../face-cluster/">
            
                    
                        <b>2.6.</b>
                    
                    人脸聚类
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" >
            
                <span>
            
                    
                        <b>2.6.1.</b>
                    
                    存量聚类
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1.1" data-path="../face-cluster/clustering/feature.html">
            
                <a href="../face-cluster/clustering/feature.html">
            
                    
                        <b>2.6.1.1.</b>
                    
                    特征提取
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.1.2" data-path="../face-cluster/clustering/cluster.html">
            
                <a href="../face-cluster/clustering/cluster.html">
            
                    
                        <b>2.6.1.2.</b>
                    
                    聚类输出
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="../face-cluster/face.html">
            
                <a href="../face-cluster/face.html">
            
                    
                        <b>2.6.2.</b>
                    
                    人脸管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.2.1" data-path="../face-cluster/face/register.html">
            
                <a href="../face-cluster/face/register.html">
            
                    
                        <b>2.6.2.1.</b>
                    
                    人脸注册
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.2.2" data-path="../face-cluster/face/search.html">
            
                <a href="../face-cluster/face/search.html">
            
                    
                        <b>2.6.2.2.</b>
                    
                    人脸搜索
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.3" >
            
                <span>
            
                    
                        <b>2.6.3.</b>
                    
                    业务改造
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.3.1" data-path="../face-cluster/refactor/face.html">
            
                <a href="../face-cluster/refactor/face.html">
            
                    
                        <b>2.6.3.1.</b>
                    
                    刷脸开关
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.3.2" data-path="../face-cluster/refactor/face_login.html">
            
                <a href="../face-cluster/refactor/face_login.html">
            
                    
                        <b>2.6.3.2.</b>
                    
                    刷脸登录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="../face-cluster/question.html">
            
                <a href="../face-cluster/question.html">
            
                    
                        <b>2.6.4.</b>
                    
                    问题探讨
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="../face-platform/">
            
                <a href="../face-platform/">
            
                    
                        <b>2.7.</b>
                    
                    Pass人脸库建设
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.7.1" data-path="../face-platform/phase-1.html">
            
                <a href="../face-platform/phase-1.html">
            
                    
                        <b>2.7.1.</b>
                    
                    一期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.7.2" data-path="../face-platform/phase-2.html">
            
                <a href="../face-platform/phase-2.html">
            
                    
                        <b>2.7.2.</b>
                    
                    二期
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="../ipv6/">
            
                <a href="../ipv6/">
            
                    
                        <b>2.8.</b>
                    
                    IPV6兼容改造
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9" >
            
                <span>
            
                    
                        <b>2.9.</b>
                    
                    NA登录重构
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.9.1" data-path="../nalogin-refactor/">
            
                <a href="../nalogin-refactor/">
            
                    
                        <b>2.9.1.</b>
                    
                    需求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.2" data-path="../nalogin-refactor/experiment.html">
            
                <a href="../nalogin-refactor/experiment.html">
            
                    
                        <b>2.9.2.</b>
                    
                    新版页面小流量方案
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3" >
            
                <span>
            
                    
                        <b>2.9.3.</b>
                    
                    接口改造
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.9.3.1" data-path="../nalogin-refactor/refactor/check.html">
            
                <a href="../nalogin-refactor/refactor/check.html">
            
                    
                        <b>2.9.3.1.</b>
                    
                    帐号检测
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.2" data-path="../nalogin-refactor/refactor/history.html">
            
                <a href="../nalogin-refactor/refactor/history.html">
            
                    
                        <b>2.9.3.2.</b>
                    
                    获取登录历史
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.3" data-path="../nalogin-refactor/refactor/sendSMS.html">
            
                <a href="../nalogin-refactor/refactor/sendSMS.html">
            
                    
                        <b>2.9.3.3.</b>
                    
                    发送短信验证码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.4" data-path="../nalogin-refactor/refactor/smsLogin.html">
            
                <a href="../nalogin-refactor/refactor/smsLogin.html">
            
                    
                        <b>2.9.3.4.</b>
                    
                    短信登录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.5" data-path="../nalogin-refactor/refactor/login.html">
            
                <a href="../nalogin-refactor/refactor/login.html">
            
                    
                        <b>2.9.3.5.</b>
                    
                    帐密登录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.9.4" data-path="../nalogin-refactor/smarty.html">
            
                <a href="../nalogin-refactor/smarty.html">
            
                    
                        <b>2.9.4.</b>
                    
                    smarty模板
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="../login-refactor/">
            
                <a href="../login-refactor/">
            
                    
                        <b>2.10.</b>
                    
                    登录服务重构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.10.1" data-path="../login-refactor/api.html">
            
                <a href="../login-refactor/api.html">
            
                    
                        <b>2.10.1.</b>
                    
                    接口设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.10.2" data-path="../login-refactor/server.html">
            
                <a href="../login-refactor/server.html">
            
                    
                        <b>2.10.2.</b>
                    
                    服务端实现
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.10.3" data-path="../login-refactor/plan.html">
            
                <a href="../login-refactor/plan.html">
            
                    
                        <b>2.10.3.</b>
                    
                    开发计划
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="../portrait-url-refactor/">
            
                <a href="../portrait-url-refactor/">
            
                    
                        <b>2.11.</b>
                    
                    头像地址重构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="../portrait-to-bos/">
            
                <a href="../portrait-to-bos/">
            
                    
                        <b>2.12.</b>
                    
                    头像存储迁移
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.13" data-path="./">
            
                <a href="./">
            
                    
                        <b>2.13.</b>
                    
                    业务日志脱敏
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">[第三章] 服务接入</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../../open/auth-widget/">
            
                <a href="../../open/auth-widget/">
            
                    
                        <b>3.1.</b>
                    
                    验证控件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="../../open/auth-widget/prepare.html">
            
                <a href="../../open/auth-widget/prepare.html">
            
                    
                        <b>3.1.1.</b>
                    
                    前期准备
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="../../open/auth-widget/token.html">
            
                <a href="../../open/auth-widget/token.html">
            
                    
                        <b>3.1.2.</b>
                    
                    AuthToken生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="../../open/auth-widget/wap.html">
            
                <a href="../../open/auth-widget/wap.html">
            
                    
                        <b>3.1.3.</b>
                    
                    NA/WAP端接入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4" data-path="../../open/auth-widget/pc.html">
            
                <a href="../../open/auth-widget/pc.html">
            
                    
                        <b>3.1.4.</b>
                    
                    PC端接入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.5" data-path="../../open/auth-widget/auth.html">
            
                <a href="../../open/auth-widget/auth.html">
            
                    
                        <b>3.1.5.</b>
                    
                    合法性校验
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.6" data-path="../../open/auth-widget/code.html">
            
                <a href="../../open/auth-widget/code.html">
            
                    
                        <b>3.1.6.</b>
                    
                    附:验证控件SDK源码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../../open/portrait/">
            
                <a href="../../open/portrait/">
            
                    
                        <b>3.2.</b>
                    
                    头像接入
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >业务日志脱敏</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x80CC;&#x666F;"><a name="&#x80CC;&#x666F;" class="anchor-navigation-ex-anchor" href="#&#x80CC;&#x666F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x80CC;&#x666F;</h1>
<p>&#x76EE;&#x524D;Passport&#x4E1A;&#x52A1;&#x65E5;&#x5FD7;&#x5B58;&#x5728;&#x660E;&#x6587;&#x6253;&#x5370;&#x654F;&#x611F;&#x6570;&#x636E;&#x7684;&#x60C5;&#x51B5;&#xFF0C;&#x9700;&#x8FDB;&#x884C;&#x6539;&#x9020;&#xFF0C;&#x4EE5;&#x6EE1;&#x8DB3;&#x5B89;&#x5168;&#x7EA2;&#x7EBF;&#x8981;&#x6C42;&#xFF0C;&#x6D88;&#x9664;&#x654F;&#x611F;&#x6570;&#x636E;&#x6CC4;&#x9732;&#x98CE;&#x9669;&#x3002;</p>
<h1 id="&#x654F;&#x611F;&#x6570;&#x636E;"><a name="&#x654F;&#x611F;&#x6570;&#x636E;" class="anchor-navigation-ex-anchor" href="#&#x654F;&#x611F;&#x6570;&#x636E;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x654F;&#x611F;&#x6570;&#x636E;</h1>
<p>&#x53C2;&#x8003;&#xFF1A;<a href="http://wiki.baidu.com/pages/viewpage.action?pageId=357121878" target="_blank">http://wiki.baidu.com/pages/viewpage.action?pageId=357121878</a> &#x5BF9;Passport&#x7684;&#x6570;&#x636E;&#x5B9A;&#x5BC6;&#xFF0C;&#x5F53;&#x524D;&#x9700;&#x6539;&#x9020;&#x7684;&#x654F;&#x611F;&#x6570;&#x636E;&#x5982;&#x4E0B;&#xFF1A;</p>
<table>
<thead>
<tr>
<th>&#x5B57;&#x6BB5;</th>
<th>&#x7EA7;&#x522B;</th>
<th>&#x8131;&#x654F;&#x624B;&#x6BB5;</th>
<th>&#x63A5;&#x53E3;&#x6570;&#x91CF;(&#x7C97;&#x7565;&#x8BC4;&#x4F30;)</th>
<th>&#x65E5;&#x5FD7;&#x4EFD;&#x6570;(&#x7C97;&#x7565;&#x8BC4;&#x4F30;)</th>
</tr>
</thead>
<tbody>
<tr>
<td>BDUSS</td>
<td>L5</td>
<td>&#x5206;&#x573A;&#x666F;&#x52A0;&#x5BC6;&#x3001;&#x906E;&#x63A9;<a href="http://wiki.baidu.com/pages/viewpage.action?pageId=1014211341" target="_blank">&#x53C2;&#x8003;&#x6B64;&#x65B9;&#x6848;</a></td>
<td>208</td>
<td>20+</td>
</tr>
<tr>
<td>&#x94F6;&#x884C;&#x5361;</td>
<td>L5</td>
<td>&#x5206;&#x573A;&#x666F;&#x52A0;&#x5BC6;&#x3001;&#x906E;&#x63A9;</td>
<td>3</td>
<td>&lt;3</td>
</tr>
<tr>
<td>&#x59D3;&#x540D;&amp;&#x8EAB;&#x4EFD;&#x8BC1;</td>
<td>L5</td>
<td>&#x5206;&#x573A;&#x666F;&#x52A0;&#x5BC6;&#x3001;&#x906E;&#x63A9;</td>
<td>16</td>
<td>&lt;5</td>
</tr>
<tr>
<td>&#x624B;&#x673A;&#x53F7;</td>
<td>L5</td>
<td>&#x5206;&#x573A;&#x666F;&#x52A0;&#x5BC6;&#x3001;&#x906E;&#x63A9;</td>
<td>84</td>
<td>&lt;20</td>
</tr>
<tr>
<td>&#x90AE;&#x7BB1;</td>
<td>L4</td>
<td>&#x5206;&#x573A;&#x666F;&#x52A0;&#x5BC6;&#x3001;&#x906E;&#x63A9;</td>
<td>56</td>
<td>&lt;20</td>
</tr>
</tbody>
</table>
<h1 id="&#x8131;&#x654F;&#x65B9;&#x6848;"><a name="&#x8131;&#x654F;&#x65B9;&#x6848;" class="anchor-navigation-ex-anchor" href="#&#x8131;&#x654F;&#x65B9;&#x6848;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8131;&#x654F;&#x65B9;&#x6848;</h1>
<h3 id="&#x906E;&#x63A9;"><a name="&#x906E;&#x63A9;" class="anchor-navigation-ex-anchor" href="#&#x906E;&#x63A9;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x906E;&#x63A9;</h3>
<ol>
<li>&#x4F7F;&#x7528;<a href="http://wiki.baidu.com/pages/viewpage.action?pageId=879439781" target="_blank">&#x5B89;&#x5168;&#x7EC4;&#x63D0;&#x4F9B;&#x7684;SDK</a> (&#x906E;&#x63A9;&#x8F83;&#x4E3A;&#x4E25;&#x683C;&#xFF0C;&#x53EF;&#x80FD;&#x6709;&#x635F;&#x7528;&#x6237;&#x4F53;&#x9A8C;)&#x3002;</li>
<li>&#x4F7F;&#x7528;Pass&#x76EE;&#x524D;&#x7684;&#x906E;&#x63A9;&#x89C4;&#x5219; (&#x4FDD;&#x7559;&#x5B57;&#x8282;&#x7A0D;&#x591A;&#xFF0C;&#x7528;&#x6237;&#x6613;&#x8BC6;&#x522B;&#xFF0C;&#x4F53;&#x9A8C;&#x7A0D;&#x597D;)&#x3002;</li>
</ol>
<table>
<thead>
<tr>
<th>&#x5B57;&#x6BB5;</th>
<th>&#x5B89;&#x5168;&#x7EC4;</th>
<th>Passport</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x94F6;&#x884C;&#x5361;</td>
<td><code>************1234</code></td>
<td><code>************1234</code></td>
</tr>
<tr>
<td>&#x8EAB;&#x4EFD;&#x8BC1;</td>
<td><code>**************2020</code></td>
<td><code>450***********9012</code></td>
</tr>
<tr>
<td>&#x624B;&#x673A;&#x53F7;</td>
<td><code>*******8000</code></td>
<td><code>182******67</code></td>
</tr>
<tr>
<td>&#x90AE;&#x7BB1;</td>
<td><code>ad**********r*********</code></td>
<td><code>xi...6@sina.com.cn</code></td>
</tr>
</tbody>
</table>
<h3 id="&#x52A0;&#x5BC6;"><a name="&#x52A0;&#x5BC6;" class="anchor-navigation-ex-anchor" href="#&#x52A0;&#x5BC6;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x52A0;&#x5BC6;</h3>
<p>&#x5B89;&#x5168;&#x7EC4;&#x5EFA;&#x8BAE;&#x4EA7;&#x54C1;&#x7EBF;&#x4F7F;&#x7528;<code>AES-256</code>&#x8FDB;&#x884C;&#x52A0;&#x5BC6;&#xFF0C;&#x8BBE;&#x8BA1;&#x5982;&#x4E0B;&#xFF1A;</p>
<ol>
<li>&#x91C7;&#x7528;&#x5E26;&#x7248;&#x672C;&#x7684;&#x5BC6;&#x94A5;&#x3001;&#x5411;&#x91CF;&#x5BF9;&#x660E;&#x6587;&#x8FDB;&#x884C;&#x52A0;&#x5BC6;&#x5F97;&#x5230;&#x5BC6;&#x6587;&#x4E8C;&#x8FDB;&#x5236;&#x6570;&#x636E;&#x3002;</li>
<li>&#x5BF9;&#x4E8C;&#x8FDB;&#x5236;&#x6570;&#x636E;&#x8FDB;&#x884C;<code>url_safe</code>&#x7684;<code>base64</code>&#x7F16;&#x7801;&#x3002;</li>
<li>&#x5C06;&#x5BC6;&#x94A5;&#x7248;&#x672C;&#x4E0E;&#x7F16;&#x7801;&#x540E;&#x7684;&#x4E32;&#x8FDB;&#x884C;&#x62FC;&#x63A5;&#x5F97;&#x5230;&#x6700;&#x7EC8;&#x4E32;(&#x4E5F;&#x53EF;&#x518D;&#x62FC;&#x63A5;&#x5FC5;&#x8981;&#x7684;&#x5176;&#x4ED6;&#x6570;&#x636E;)&#x3002;</li>
<li>&#x6240;&#x6709;&#x7684;&#x6570;&#x636E;&#x4F7F;&#x7528;&#x4E00;&#x5957;&#x5BC6;&#x94A5;&#xFF1F;</li>
</ol>
<p>&#x4EE3;&#x7801;&#x793A;&#x4F8B;&#xFF1A;</p>
<pre class="language-"><code class="lang-php"><span class="token delimiter important">&lt;?php</span>
<span class="token comment">/**
 * &#x6570;&#x636E;&#x52A0;&#x5BC6;
 * @param $data
 * @param $key
 * @param $iv
 * @param $version
 * @return false|string
 */</span>
<span class="token keyword">function</span> <span class="token function">encryptData</span><span class="token punctuation">(</span><span class="token variable">$data</span><span class="token punctuation">,</span> <span class="token variable">$key</span><span class="token punctuation">,</span> <span class="token variable">$iv</span><span class="token punctuation">,</span> <span class="token variable">$version</span><span class="token punctuation">)</span>
<span class="token punctuation">{</span>
    <span class="token variable">$data</span> <span class="token operator">=</span> <span class="token function">openssl_encrypt</span><span class="token punctuation">(</span><span class="token variable">$data</span><span class="token punctuation">,</span> <span class="token single-quoted-string string">&apos;AES-256-CBC&apos;</span><span class="token punctuation">,</span> <span class="token variable">$key</span><span class="token punctuation">,</span> <span class="token constant">OPENSSL_RAW_DATA</span><span class="token punctuation">,</span> <span class="token variable">$iv</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token variable">$data</span> <span class="token operator">=</span> <span class="token function">base64_encode</span><span class="token punctuation">(</span><span class="token variable">$data</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token variable">$replace</span> <span class="token operator">=</span> <span class="token keyword">array</span><span class="token punctuation">(</span>
        <span class="token single-quoted-string string">&apos;+&apos;</span> <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token single-quoted-string string">&apos;-&apos;</span><span class="token punctuation">,</span>
        <span class="token single-quoted-string string">&apos;/&apos;</span> <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token single-quoted-string string">&apos;_&apos;</span><span class="token punctuation">,</span>
        <span class="token single-quoted-string string">&apos;=&apos;</span> <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token single-quoted-string string">&apos;&apos;</span><span class="token punctuation">,</span>
    <span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token variable">$data</span> <span class="token operator">=</span> <span class="token function">strtr</span><span class="token punctuation">(</span><span class="token variable">$data</span><span class="token punctuation">,</span> <span class="token variable">$replace</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token variable">$data</span> <span class="token operator">=</span> <span class="token function">sprintf</span><span class="token punctuation">(</span><span class="token double-quoted-string string">&quot;<span class="token interpolation"><span class="token punctuation">{</span><span class="token variable">$version</span><span class="token punctuation">}</span></span>.<span class="token interpolation"><span class="token punctuation">{</span><span class="token variable">$data</span><span class="token punctuation">}</span></span>&quot;</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token keyword">return</span> <span class="token variable">$data</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>

<span class="token variable">$key</span> <span class="token operator">=</span> <span class="token single-quoted-string string">&apos;3a9aed1e2c8780163e37729cc8e2fcc0&apos;</span><span class="token punctuation">;</span>
<span class="token variable">$iv</span> <span class="token operator">=</span> <span class="token single-quoted-string string">&apos;c8780163e37729cc&apos;</span><span class="token punctuation">;</span>
<span class="token variable">$version</span> <span class="token operator">=</span> <span class="token single-quoted-string string">&apos;1&apos;</span><span class="token punctuation">;</span>
<span class="token variable">$mobile</span> <span class="token operator">=</span> <span class="token single-quoted-string string">&apos;18800000000&apos;</span><span class="token punctuation">;</span>

<span class="token variable">$data</span> <span class="token operator">=</span> <span class="token function">encryptData</span><span class="token punctuation">(</span><span class="token variable">$mobile</span><span class="token punctuation">,</span> <span class="token variable">$key</span><span class="token punctuation">,</span> <span class="token variable">$iv</span><span class="token punctuation">,</span> <span class="token variable">$version</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token comment">// $data = &quot;1.ST8IHYs3nmXLOhIHUT7QIw&quot;;</span>
</code></pre>
<h1 id="&#x6539;&#x9020;&#x6D41;&#x7A0B;"><a name="&#x6539;&#x9020;&#x6D41;&#x7A0B;" class="anchor-navigation-ex-anchor" href="#&#x6539;&#x9020;&#x6D41;&#x7A0B;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6539;&#x9020;&#x6D41;&#x7A0B;</h1>
<ol>
<li>&#x7F16;&#x5199;&#x654F;&#x611F;&#x6570;&#x636E;&#x626B;&#x63CF;&#x5DE5;&#x5177;&#xFF0C;&#x7528;&#x4E8E;&#x6539;&#x9020;&#x524D;&#x67E5;&#x627E;&#x3001;&#x6539;&#x9020;&#x540E;&#x9A8C;&#x6536;&#x3002;</li>
<li>&#x6309;&#x6570;&#x636E;&#x7C7B;&#x578B;&#x9010;&#x6B65;&#x6539;&#x9020;&#xFF0C;&#x53EF;&#x5148;&#x4ECE;&#x5206;&#x5E03;&#x8F83;&#x5C11;&#x7684;&#x5165;&#x624B;&#xFF0C;&#x5982;&#xFF1A;&#x8EAB;&#x4EFD;&#x8BC1;&#x3001;&#x94F6;&#x884C;&#x5361;&#x3002;</li>
<li>&#x6392;&#x67E5;&#x7684;&#x65E5;&#x5FD7;&#x8303;&#x56F4;&#x4E3A;&#x4E1A;&#x52A1;&#x5C42;&#x7684;&#x5168;&#x90E8;&#x65E5;&#x5FD7;(&#x89C1;&#x540E;&#x6587;)&#xFF0C;&#x9700;&#x660E;&#x786E;&#x65E5;&#x5FD7;&#x662F;&#x5426;&#x88AB;&#x4E0B;&#x6E38;&#x4F7F;&#x7528;&#x3002;</li>
<li>&#x5BF9;&#x4E8E;&#x6709;&#x4E0B;&#x6E38;&#x4F7F;&#x7528;&#x7684;&#xFF0C;&#x5E94;&#x4E0E;&#x4E0B;&#x6E38;&#x505A;&#x597D;&#x786E;&#x8BA4;&#xFF0C;&#x534F;&#x5546;&#x597D;&#x4F7F;&#x7528;&#x54EA;&#x79CD;&#x8131;&#x654F;&#x65B9;&#x6848;&#x3002;</li>
<li>&#x4E0B;&#x6E38;&#x9002;&#x914D;&#x5B8C;&#x6210;&#x540E;&#xFF0C;&#x5BF9;&#x65E5;&#x5FD7;&#x8FDB;&#x884C;&#x8131;&#x654F;&#x53D8;&#x66F4;&#x3002;</li>
</ol>
<h1 id="&#x6539;&#x9020;&#x8BA1;&#x5212;"><a name="&#x6539;&#x9020;&#x8BA1;&#x5212;" class="anchor-navigation-ex-anchor" href="#&#x6539;&#x9020;&#x8BA1;&#x5212;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6539;&#x9020;&#x8BA1;&#x5212;</h1>
<p><strong>PPUI&#x90E8;&#x5206;</strong></p>
<table>
<thead>
<tr>
<th>&#x8BA1;&#x5212;</th>
<th>&#x63CF;&#x8FF0;</th>
<th>&#x5DE5;&#x65F6;&#x4F30;&#x7B97;(&#x4E1A;&#x52A1;)</th>
<th>&#x5DE5;&#x65F6;&#x4F30;&#x7B97;(&#x6570;&#x636E;)</th>
<th>&#x5DE5;&#x65F6;&#x4F30;&#x7B97;(&#x7B56;&#x7565;)</th>
<th>&#x603B;&#x8BA1;</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x4E00;&#x671F;</td>
<td>&#x94F6;&#x884C;&#x5361;&#x3001;&#x8EAB;&#x4EFD;&#x8BC1;&#x6539;&#x9020;</td>
<td>5&#x5929;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>&#x4E8C;&#x671F;</td>
<td>&#x90AE;&#x7BB1;&#x6539;&#x9020;</td>
<td>10&#x5929;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>&#x4E09;&#x671F;</td>
<td>&#x624B;&#x673A;&#x53F7;&#x6539;&#x9020;</td>
<td>10&#x5929;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>&#x56DB;&#x671F;</td>
<td>BDUSS&#x6539;&#x9020;</td>
<td>15&#x5929;</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>&#x5176;&#x4ED6;&#x90E8;&#x5206;</strong></p>
<table>
<thead>
<tr>
<th>&#x8BA1;&#x5212;</th>
<th>&#x63CF;&#x8FF0;</th>
<th>&#x5DE5;&#x65F6;&#x4F30;&#x7B97;(&#x4E1A;&#x52A1;)</th>
<th>&#x5DE5;&#x65F6;&#x4F30;&#x7B97;(&#x6570;&#x636E;)</th>
<th>&#x5DE5;&#x65F6;&#x4F30;&#x7B97;(&#x7B56;&#x7565;)</th>
<th>&#x603B;&#x8BA1;</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x4E00;&#x671F;</td>
<td>OAUTH&#x6539;&#x9020;</td>
<td>10&#x5929;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>&#x4E8C;&#x671F;</td>
<td>NALOGIN&#x6539;&#x9020;</td>
<td>10&#x5929;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>&#x4E09;&#x671F;</td>
<td>NSCLICK&#x4F9D;&#x8D56;BDUSS&#xFF0C;&#x4E14;NSCLICK&#x9700;&#x8981;&#x5347;&#x7EA7;NGINX&#xFF0C;&#x9700;&#x5355;&#x72EC;&#x7ACB;&#x9879;&#x8FDB;&#x884C;</td>
<td>?</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<h1 id="&#x9644;&#xFF1A;&#x5168;&#x90E8;&#x65E5;&#x5FD7;&#x5217;&#x8868;"><a name="&#x9644;&#xFF1A;&#x5168;&#x90E8;&#x65E5;&#x5FD7;&#x5217;&#x8868;" class="anchor-navigation-ex-anchor" href="#&#x9644;&#xFF1A;&#x5168;&#x90E8;&#x65E5;&#x5FD7;&#x5217;&#x8868;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x9644;&#xFF1A;&#x5168;&#x90E8;&#x65E5;&#x5FD7;&#x5217;&#x8868;</h1>
<table>
<thead>
<tr>
<th>&#x5E94;&#x7528;</th>
<th>&#x65E5;&#x5FD7;&#x8DEF;&#x5F84;</th>
<th>&#x65E5;&#x5FD7;&#x63CF;&#x8FF0;</th>
<th>&#x662F;&#x5426;&#x79BB;&#x7EBF;&#x4F20;&#x8F93;</th>
<th>&#x6709;&#x65E0;&#x654F;&#x611F;&#x4FE1;&#x606F;</th>
</tr>
</thead>
<tbody>
<tr>
<td>PPUI</td>
<td>log/api/api.log</td>
<td>&#x65B0;&#x7248;API</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/finance/finance.log</td>
<td>&#x5B9E;&#x540D;&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/getpass/getpass.log</td>
<td>&#x7533;&#x8BC9;&#x627E;&#x56DE;&#x5BC6;&#x7801;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/phoenix/phoenix.log</td>
<td>&#x7B2C;&#x4E09;&#x65B9;&#x767B;&#x5F55;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/portrait/portrait.log</td>
<td>&#x5934;&#x50CF;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/reg/reg.log</td>
<td>&#x6CE8;&#x518C;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/risk/risk.log</td>
<td>&#x4EBA;&#x8138;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/riskcontrol/riskcontrol.log</td>
<td>&#x98CE;&#x63A7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/security/security.log</td>
<td>&#x5B89;&#x5168;&#x7EC4;&#x4EF6;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/ucenter/ucenter.log</td>
<td>&#x5E10;&#x53F7;&#x4FE1;&#x606F;&#x7BA1;&#x7406;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/sms/sms.log</td>
<td>&#x77ED;&#x4FE1;&#x53D1;&#x9001;&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/hhvm/hhvm-access.log</td>
<td>hhvm&#x65E5;&#x5FD7;</td>
<td>NO</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/ral/*</td>
<td>&#x4E0B;&#x6E38;&#x8BBF;&#x95EE;&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/webserver/*</td>
<td>Nginx &#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/anti_attack.log</td>
<td>IP&#x9ED1;&#x767D;&#x540D;&#x5355;&#x65E5;&#x5FD7;</td>
<td>?</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/sensinfo.log</td>
<td>&#x654F;&#x611F;&#x64CD;&#x4F5C;&#x8BB0;&#x5F55;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/spm.log</td>
<td>&#x98CE;&#x63A7;&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/otp/otp.log</td>
<td>&#x5E10;&#x53F7;&#x7BA1;&#x5BB6;OTP&#x9A8C;&#x8BC1;</td>
<td>NO</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/validate/validate.log</td>
<td>&#x5B8C;&#x6574;&#x6027;&#x6821;&#x9A8C;</td>
<td>NO</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/sensoperation/sensoperation.log</td>
<td>&#x654F;&#x611F;&#x64CD;&#x4F5C;&#x8C41;&#x514D;</td>
<td>NO</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/usertag.log</td>
<td>Tagdata redis&#x65E5;&#x5FD7;</td>
<td>NO</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/bce/bce.log</td>
<td>&#x7F51;&#x5B89;&#x65E5;&#x5FD7;&#xFF1F;</td>
<td>?</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/certi/certi.log</td>
<td>&#x5B9E;&#x540D;&#x8BA4;&#x8BC1;&#x8D39;&#x7528;&#x5747;&#x644A;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/event/event.log</td>
<td>&#x4E8B;&#x4EF6;&#x65E5;&#x5FD7;</td>
<td>NO</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/file/file.log</td>
<td>&#x4E0A;&#x4F20;&#x7684;&#x5934;&#x50CF;&#x4E34;&#x65F6;&#x6587;&#x4EF6;</td>
<td>NO</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/spring/spring.log</td>
<td>&#x5DF2;&#x5E9F;&#x5F03;&#xFF0C;&#x6625;&#x665A;&#x4E34;&#x65F6;&#x65E5;&#x5FD7;</td>
<td>NO</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/thirdservice/thirdservice.log</td>
<td>&#x4E8C;&#x6B21;&#x653E;&#x53F7;&#x4E0B;&#x6E38;&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/troubleshoot</td>
<td>&#x5DF2;&#x5E9F;&#x5F03;</td>
<td>NO</td>
<td>NO</td>
</tr>
<tr>
<td>PPUI</td>
<td>log/ICPLOG</td>
<td>&#x7F51;&#x5B89;&#x65E5;&#x5FD7;&#xFF0C;&#x53D1;&#x7ED9;&#x7F51;&#x76D1;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>ORP&#x63A5;&#x5165;&#x5C42;</td>
<td>log/webserver/*</td>
<td>nginx&#x65E5;&#x5FD7;</td>
<td>?</td>
<td>YES</td>
</tr>
<tr>
<td>NSCLICK</td>
<td>lighttpd/log/access_log</td>
<td>Nsclick&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>OAUTH</td>
<td>logs/oauth.json.log</td>
<td>Oath&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>OAUTH</td>
<td>logs/openapi.sdf.log</td>
<td>Oath&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>NALOGIN</td>
<td>logs/nalogin.sdf.log</td>
<td>NALOGIN&#x65E5;&#x5FD7;</td>
<td>YES</td>
<td>YES</td>
</tr>
</tbody>
</table>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> &#xA9; fzu </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> &#x6700;&#x540E;&#x4FEE;&#x6539;: 2020-07-14 </span> </footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../portrait-to-bos/" class="navigation navigation-prev " aria-label="Previous page: 头像存储迁移">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../../open/auth-widget/" class="navigation navigation-next " aria-label="Next page: 验证控件">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"业务日志脱敏","level":"2.13","depth":1,"next":{"title":"验证控件","level":"3.1","depth":1,"path":"open/auth-widget/index.md","ref":"open/auth-widget/index.md","articles":[{"title":"前期准备","level":"3.1.1","depth":2,"path":"open/auth-widget/prepare.md","ref":"open/auth-widget/prepare.md","articles":[]},{"title":"AuthToken生成","level":"3.1.2","depth":2,"path":"open/auth-widget/token.md","ref":"open/auth-widget/token.md","articles":[]},{"title":"NA/WAP端接入","level":"3.1.3","depth":2,"path":"open/auth-widget/wap.md","ref":"open/auth-widget/wap.md","articles":[]},{"title":"PC端接入","level":"3.1.4","depth":2,"path":"open/auth-widget/pc.md","ref":"open/auth-widget/pc.md","articles":[]},{"title":"合法性校验","level":"3.1.5","depth":2,"path":"open/auth-widget/auth.md","ref":"open/auth-widget/auth.md","articles":[]},{"title":"附:验证控件SDK源码","level":"3.1.6","depth":2,"path":"open/auth-widget/code.md","ref":"open/auth-widget/code.md","articles":[]}]},"previous":{"title":"头像存储迁移","level":"2.12","depth":1,"path":"projects/portrait-to-bos/index.md","ref":"projects/portrait-to-bos/index.md","articles":[]},"dir":"ltr"},"config":{"plugins":["multipart","codeblock-filename","anchor-navigation-ex","page-footer-ex","prism","splitter","custom-js-css","-sharing"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"css":["prismjs/themes/prism-okaidia.css"]},"page-footer-ex":{"copyright":"© fzu","markdown":true,"update_format":"YYYY-MM-DD","update_label":"最后修改:"},"splitter":{},"search":{},"multipart":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":true},"codeblock-filename":{},"custom-js-css":{"css":["assets/css/main.css","assets/css/folding-chapters.css"],"js":["assets/js/folding-chapters.js"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true}},"theme":"default","author":"xiajie <xiajie01@baidu.com>","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"isbn":"","variables":{},"title":"Passport业务手册","language":"zh-hans","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{}},"gitbook":"*","description":"Passport业务手册","extension":null},"file":{"path":"projects/log-masking/index.md","mtime":"2020-07-14T00:09:41.361Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-14T00:46:01.528Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-custom-js-css/fc1111ed2beb4b0151beb99a0ab82def-folding-chapters.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

